#!/usr/bin/env python
#coding=utf-8
HTTP_RESPONSE_SIGN_NO                = 1
HTTP_RESPONSE_EMAIL_NO                = 2
HTTP_RESPONSE_EMAIL_OK                = 3
HTTP_RESPONSE_LOGIN_OK                = 4
HTTP_RESPONSE_DB_ERROR                = 5
HTTP_RESPONSE_LOGOUT_OK                = 6
HTTP_RESPONSE_DELETE_OK                = 7
HTTP_RESPONSE_DELETE_NO                = 8
HTTP_RESPONSE_UPDATE_OK                = 9
HTTP_RESPONSE_REGISTER_OK            = 10
HTTP_RESPONSE_VALIDATE_NO            = 11
HTTP_RESPONSE_VALIDATE_OK            = 12
HTTP_RESPONSE_USERNAME_NO            = 13
HTTP_RESPONSE_USERNAME_OK            = 14
HTTP_RESPONSE_PASSWORD_NO            = 15
HTTP_RESPONSE_EMAIL_EXISTS            = 16
HTTP_RESPONSE_VARIABLE_ERROR        = 17
HTTP_RESPONSE_USERNAME_EXISTS       = 18
HTTP_RESPONSE_EMAIL_NOT_EXISTS      = 19
HTTP_RESPONSE_USERNAME_NOT_EXISTS   = 20
HTTP_RESPONSE_CODE = {
"HTTP_RESPONSE_SIGN_NO":1,
"HTTP_RESPONSE_EMAIL_NO":2,
"HTTP_RESPONSE_EMAIL_OK":3,
"HTTP_RESPONSE_LOGIN_OK":4,
"HTTP_RESPONSE_DB_ERROR":5,
"HTTP_RESPONSE_LOGOUT_OK":6,
"HTTP_RESPONSE_DELETE_OK":7,
"HTTP_RESPONSE_DELETE_NO":8,
"HTTP_RESPONSE_UPDATE_OK":9,
"HTTP_RESPONSE_REGISTER_OK":10,
"HTTP_RESPONSE_VALIDATE_NO":11,
"HTTP_RESPONSE_VALIDATE_OK":12,
"HTTP_RESPONSE_USERNAME_NO":13,
"HTTP_RESPONSE_USERNAME_OK":14,
"HTTP_RESPONSE_PASSWORD_NO":15,
"HTTP_RESPONSE_EMAIL_EXISTS":16,
"HTTP_RESPONSE_VARIABLE_ERROR":17,
"HTTP_RESPONSE_USERNAME_EXISTS":18,
"HTTP_RESPONSE_EMAIL_NOT_EXISTS":19,
"HTTP_RESPONSE_USERNAME_NOT_EXISTS":20}